package com.hjx.movie.core.system.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjx.movie.core.system.vo.AreaTreeNode;
import com.hjx.movie.persistence.system.model.IvyArea;

import java.util.List;

/**
 * <p>Title:</p>
 * <p>Description:</p>
 *
 * @author hjx
 * @date 2021/1/30 - 16:35
 */
public interface IAreaService extends IService<IvyArea> {
    List<AreaTreeNode> findAreaTree(Long rootAreaId, String areaNameLike, Boolean areaStatus);
    List<IvyArea> findAreaByPid(Long areaPid);
    boolean addArea(IvyArea area);
    boolean deleteArea(Long areaId);
    boolean updateArea(IvyArea area);
}
